﻿using MengLin.OOP.DesignPattern.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.FactoryMethod
{
    public interface IFactory
    {
        /// <summary>
        /// 创建实例
        /// </summary>
        /// <returns></returns>
        IUserService CreateInstance();
    }
}
